package com.mvc.base.web;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import com.mvc.base.model.Courier;
import com.mvc.base.service.CourierManager;
import com.mvc.framework.service.PageManager;
import com.mvc.framework.web.PageController;

/** 
 * 
 * @author  snowpbx
 * @version V1.0  Create Time: 2012-11-18
 */
@Controller
@RequestMapping("courier")
public class CourierController extends PageController<Courier> {
	@Autowired
	private CourierManager courierManager;

	@Override
	public PageManager<Courier> getEntityManager() {
		return courierManager;
	}

	@Override
	public String getFileBasePath() {
		return "base/";
	}

}


